-- GENERATED SPELL FOR [Flamewaker Imp] --


function spell0_19136(pUnit, Event) --@Fireball,n/a--
pUnit:FullCastSpellOnTarget(9053,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_19136', 3000, 1)
end

function Sorts_19136(pUnit, Event)
local choix_sorts_19136 = math.random(0, 0)
if choix_sorts_19136 == 0 then
pUnit:RegisterEvent('spell0_19136', 1, 1)
end
end

function mob19136_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_19136', math.random(1500, 3000), 1)
end

function mob19136_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19136_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob19136_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(19136, 1, 'mob19136_Action')
RegisterUnitEvent(19136, 2, 'mob19136_Leave')
RegisterUnitEvent(19136, 3, 'mob19136_Kill')
RegisterUnitEvent(19136, 4, 'mob19136_Die')
